package com.guoning.office_system.service;

import com.guoning.office_system.model.Equipment;
import com.guoning.office_system.vo.Criteria;
import com.guoning.office_system.vo.PageBean;

import java.util.List;

public interface EquipmentService {
    Long selectByEquipmentCodeCount(String equipmentCode);

    PageBean selectByCondition(Criteria criteria, PageBean pageBean);

    int updateEquipmentStatus(List list);

    int updateForDelete(List list);

    int deleteByPrimaryKey(Long id);

    Long insert(Equipment record);

    int insertSelective(Equipment record);

    Equipment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Equipment record);

    int updateByPrimaryKey(Equipment record);
}